Skip to content

Conversation

@romange
Copy link
Collaborator

@romange romange commented Nov 20, 2025

Align test_reply_count to use /metrics for fetching the reply_count counter.

@romange romange force-pushed the Pr3 branch 2 times, most recently from b563ac7 to f53b931 Compare November 20, 2025 18:09
@romange romange requested a review from dranikpg November 21, 2025 09:10
"""Make sure reply aggregations reduce reply counts for common cases"""

async def get_reply_count():
return (await async_client.info("STATS"))["reply_count"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before: the info call intervened with the test, now we scrape /metrics

Also, fix test_reply_count that did not really tested command due to missed await statements.

Signed-off-by: Roman Gershman <[email protected]>
@dranikpg dranikpg merged commit 00a6f90 into main Nov 21, 2025
10 checks passed
@dranikpg dranikpg deleted the Pr3 branch November 21, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants